package lab02.Test14;

/**
 * Created by mac on 2017/10/25.
 */
public class Rectangle extends Shape {

    //getArea()方法计算对象的面积

    String getArea1() {
        return length+"/"+width;
    }
    double area1(){
        return length*width;
    }

}
